import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
const Index = () => import("../views/index.vue");
const List = () => import("../views/list.vue");
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "index",
    component: Index,
    meta: {      
        title: "首页",
        keywords: "资讯,新闻,财经,房产,视频,NBA,科技",
        description: "我司从2003年创立至今，已经成为集新闻信息……",     
    },
  },
  {
    path: "/list",
    name: "list",
    component: List,
    meta: {     
        title: "列表",
        keywords: "资讯,新闻,财经,房产,视频,NBA,科技",
        description: "我司从2003年创立至今，已经成为集新闻信息……",     
    },
  },
];
const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
